package com.vimi8.ebb.auth.api;

import com.vimi8.ebb.auth.configuration.HttpResponseEntity;

import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;

import java.util.Date;


@javax.annotation.Generated(value = "class io.swagger.codegen.languages.SpringCodegen", date = "2016-09-28T09:30:50.948Z")

@Controller
public class LogoutApiController implements LogoutApi {

    public HttpResponseEntity<String> logoutPost() {
        HttpHeaders responseHttpHeaders=new HttpHeaders();
        responseHttpHeaders.setContentType(MediaType.APPLICATION_JSON_UTF8);
        responseHttpHeaders.add("SET-COOKIE", "Authorization="+ ";expire=" + new Date(0) + ";path=/;HttpOnly");
        return new HttpResponseEntity<String>("1",responseHttpHeaders,HttpStatus.OK);
    }

}
